package com.lemon.stock.theme

import androidx.compose.material.Colors
import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.compositeOver


@Composable
fun Colors.compositedOnSurface(alpha: Float): Color {
    return onSurface.copy(alpha = alpha).compositeOver(surface)
}

val red200 = Color(0xFFff7961)
val red500 = Color(0xFFf44336)
val red700 = Color(0xFFba000d)

val green700 = Color(0xff388e3c)
val purple700 = Color(0xFF512DA8)
val blue700 = Color(0xFF4564F2)//0xFF4564F2 //0xFF303F9F

val back001 = Color(0xFFEEEEEE)
val back002 = Color(0xFFF4F4F4)
val back013 = Color(0xFFFFEEECC)
val back007 = Color(0xFF757575)
//var weiback = Color(0xFFEEEEEE)


val cancelColor = Color(0xFFAAAAAA)
val positiveColor = Color(0xFFFF0000)  //涨
val negativeColor = Color(0xFF009900)   //跌

val darkBlue = Color(0x212E54)

//val background = Color(0xFFF4F4F4)
//val microback = Color(0xFFFFEEECC)